<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">

<!--
   /******************************************************************************
     Copyright:: 2020- IBM, Inc

    Licensed under the Apache License, Version 2.0 (the "License");
    you may not use this file except in compliance with the License.
    You may obtain a copy of the License at

    http://www.apache.org/licenses/LICENSE-2.0

    Unless required by applicable law or agreed to in writing, software
    distributed under the License is distributed on an "AS IS" BASIS,
    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    See the License for the specific language governing permissions and
    limitations under the License.
  *****************************************************************************/
-->

<html lang="en">

<head>
	<title>RPT Test Suite</title>
</head>

<body>

<a href="#navskip">skip to main content</a>

<h2>Test case: Table-cellRelationshipsInvalid.html</h2>

<!-- ################################################################### -->

<h3>Table Cell Relationship Tests</h3>

<ul>
	<li>Test #1 - Complex Data Table with summary and caption but no header information (no use of "scope" attribute) - added a headers attribute to fool the rule into thinking it's a complex table</li>
	<li>Test #2 - Complex Data Table with summary and caption but no header information (no use of "th" element) - added a headers attribute to fool the rule into thinking it's a complex table</li>
</ul>

<table id="data_table6" border="1" summary="An example of a simple data table showing the number of boys and girls in each grade of an elementary school">
	<caption>Boys and Girls in Elementary School Classes</caption>

	<tr>
		<th>Class</th>
		<th># of Boys</th>
		<th># of Girls</th>
	</tr>

	<tr>
		<th>1st Grade</th>
		<td headers="1 2 3">11</td>
		<td>10</td>
	</tr>

	<tr>
		<th>2nd Grade</th>
		<td>7</td>
		<td>12</td>
	</tr>

	<tr>
		<th>3rd Grade</th>
		<td>12</td>
		<td>14</td>
	</tr>
</table>

<br>

<table id="data_table7" border="1" summary="An example of a simple data table showing the number of boys and girls in each grade of an elementary school">
	<caption>Boys and Girls in Elementary School Classes</caption>

	<tr>
		<td>Class</td>
		<td># of Boys</td>
		<td># of Girls</td>
	</tr>

	<tr>
		<td>1st Grade</td>
		<td headers="1 2 3">11</td>
		<td>10</td>
	</tr>

	<tr>
		<td>2nd Grade</td>
		<td>7</td>
		<td>12</td>
	</tr>

	<tr>
		<td>3rd Grade</td>
		<td>12</td>
		<td>14</td>
	</tr>
</table>

<br>

<a name="navskip"></a>


<script type="text/javascript">
//<![CDATA[
  if (typeof(OpenAjax) == 'undefined') OpenAjax = {}
  if (typeof(OpenAjax.a11y) == 'undefined') OpenAjax.a11y = {}
  OpenAjax.a11y.ruleCoverage = [
    {
      ruleId: "1059",
      passedXpaths: [
      ],
      failedXpaths: [
        "/html/body/table[1]/tbody/tr[1]/th[1]",
        "/html/body/table[1]/tbody/tr[1]/th[2]",
        "/html/body/table[1]/tbody/tr[1]/th[3]",
        "/html/body/table[1]/tbody/tr[2]/th",
        "/html/body/table[1]/tbody/tr[2]/td[1]",
        "/html/body/table[1]/tbody/tr[2]/td[2]",
        "/html/body/table[1]/tbody/tr[3]/th",
        "/html/body/table[1]/tbody/tr[3]/td[1]",
        "/html/body/table[1]/tbody/tr[3]/td[2]",
        "/html/body/table[1]/tbody/tr[4]/th",
        "/html/body/table[1]/tbody/tr[4]/td[1]",
        "/html/body/table[1]/tbody/tr[4]/td[2]",
        "/html/body/table[2]/tbody/tr[1]/td[1]"
      ]
    }
  ];
//]]>
</script></body>

</html>
